export type AnimationFn = (frame?: IFrame) => boolean | void;
export interface IFrame {
    time: number;
    timeDiff: number;
    lastTime: number;
    frameRate: number;
  }